<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="resources/css/bootstrap.min.css" rel="stylesheet" type="text/css">
        <script src="resources/js/jquery-1.8.3.min.js" language="JavaScript"></script>
        <script src="resources/js/bootstrap.min.js" language="JavaScript"></script>
        <title>Welcome to Spring Web MVC project</title>
    </head>

    <body>
        <div class="row">
            <div class="span2"></div>
        <div class="span8 well">
        <p>Hello! This is the default welcome page for a Spring Web MVC project.</p>
        <p>${firstUser.name}</p>
        <p>${firstUser.age}</p>
        <table class="table table-striped table-bordered">
            <c:forEach var="phone" items="${firstUser.phones}">
                <tr>
                    <td>${phone.number}</td>
                    <td>${phone.type}</td>
                </tr>
            </c:forEach>
        </table>
        </div>
            <div class="span2"></div>
        </div>
    </body>
</html>
